package vn.com.baseapplication.network;

import com.google.gson.JsonSyntaxException;


public interface NetworkHandlerCallback {
	/**
	 * OnSuccess
	 * */
	public void onNetLoading(int requestId);
	public void onNetSuccess(int requestId,String response) throws JsonSyntaxException;
	public void onNetSuccessCache(int requestId,String response);
	public void onNetTimeOut(int requestId,Throwable error);
	public void onNetFailed(int requestId,String error) ;
}
